<template>
  <div class="my-header">
    <span class="left">
      <slot name="left"></slot>
    </span>
    <span class="center">
      <slot name="center"></slot>
    </span>
    <span class="right">
      <slot name="right"></slot>
    </span>
  </div>
</template>
<style lang="scss" scoped>
.my-header {
  display: flex;
  background: #07abc5;
  height: 1rem;
  align-items: center;
  justify-content: space-between;
  font-size: .32rem;
  padding: 0 .2rem;
  .left {
    width: .5rem;
    text-align: left;
  }
  span {
    // width: 100px;
    display: block;
    text-align: center;
  }
  .right{
    width: .9rem;
    text-align: center;
    color: #fff;
    font-size: .32rem;
  }
  div {
    // flex: 1;
    text-align: center;
  }
}
</style>